
<?php echo $this->getContent(); ?>

<?php echo $this->tag->form("test/save") ?>

<table width="100%">
    <tr>
        <td align="left"><?php echo $this->tag->linkTo(array("test", "Back")) ?></td>
        <td align="right"><?php echo $this->tag->submitButton("Save") ?></td>
    </tr>
</table>

<div align="center">
    <h1>Edit test</h1>
</div>

<table>
    <tr>
        <td align="right">
            <label for="user">User</label>
        </td>
        <td align="left">
            <?php echo $this->tag->textField(array("user", "type" => "number")) ?>
        </td>
    </tr>
    <tr>
        <td align="right">
            <label for="level">Level</label>
        </td>
        <td align="left">
            <?php echo $this->tag->textField(array("level", "type" => "number")) ?>
        </td>
    </tr>
    <tr>
        <td align="right">
            <label for="points">Points</label>
        </td>
        <td align="left">
            <?php echo $this->tag->textField(array("points", "type" => "number")) ?>
        </td>
    </tr>
    <tr>
        <td align="right">
            <label for="updated">Updated</label>
        </td>
        <td align="left">
            <?php echo $this->tag->textField(array("updated", "type" => "number")) ?>
        </td>
    </tr>

    <tr>
        <td><?php echo $this->tag->hiddenField("id") ?></td>
        <td><?php echo $this->tag->submitButton("Save") ?></td>
    </tr>
</table>

</form>
